package cn.sumpu.app.guoguojie.biz;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Blog;
import cn.sumpu.app.guoguojie.domain.BlogContent;
import cn.sumpu.app.guoguojie.domain.Ext.BlogExt;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;
import cn.sumpu.app.guoguojie.util.PageModel;

public interface BlogBiz {
	public void addBlog(Blog blog) throws AppBusinessException;

	public List<BlogExt> getBlogList(Map<String, Object> map)
			throws AppBusinessException;

	public List<BlogContent> getBlogContentList(Map<String, Object> map)
			throws AppBusinessException;

	public void ModifyBlog(Blog blog) throws AppBusinessException;

	public void DeleteBlog(String id) throws AppBusinessException;

	public Blog GetBlogById(String id) throws AppBusinessException;

	public PageModel getPageModel(BlogExt blog, Integer page, String FamilyType)
			throws AppBusinessException;


	public List<BlogExt> getBlogCountByClass(String member)
			throws AppBusinessException;

	public List<BlogExt> getFrientFamilyBlogCountByClass(String member)
			throws AppBusinessException;
	
	
}
